package com.webservice.xmloper.commonDataManager;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

import com.thoughtworks.xstream.XStream;

public class UploadDataXmlOper {
	
	/**
	 * 解析基础数据新增/更新数据，参数为字符串
	 */
	public static UploadData parseIdcUserInfo(String xmlString){
		XStream xs = new XStream();
		xs.processAnnotations(UploadData.class);
		InputStream myIn=new ByteArrayInputStream(xmlString.getBytes());
		return (UploadData) xs.fromXML(myIn);
	}
}
